package org.practice.proxy.subclass;
/**
 * 面向切面编程(aop)的子类代理机制
 * jar包：asm.jar,cglib.jar
 */
public class TestSubClassProxy {
	public static void main(String[] args) {
		BusinessDaoImpl business=(BusinessDaoImpl)SubClassProxyFactory.getProxyObject(BusinessDaoImpl.class);
		System.out.println("返回的对象是代理对象"+business.getClass().getName());
		business.doSomeThing();
	}
}
